<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>思考首页</title>
<script type="text/javascript" src="__ROOT__/library/jquery/jquery-1.4.js"></script>
<style type="text/css">
	.div{
		width:100%; height:700px;margin:0 auto;border:1px solid #999
	}
	.div1{
		width:100%; height:40px;line-height:30px;background-color:yellow;margin:0 auto;border:1px solid #oof
	}
</style>
<!-- <script>
$(function(){
	$("input:last").click(function(){
		$.ajax({
			"url":"__APP__/Tto/index",
			"type":"post",
		    "data":$("form").serialize(),	//获取全部表中的值	    
			"success":function(response){				
				alert(response);
			}			
		});
		});
});
</script> -->
</head>
<body>
	<div class="div">
		<div class="div1" align="right">
			<if condition='$session!=""'>
			<span>欢迎&nbsp;<b>{$session}</b>&nbsp;登陆TTO首页&nbsp;&nbsp;<a href="__APP__/tto/outLogin">退出登录</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>
			<else/>
			<a href="">登陆</a>&nbsp;&nbsp;
			<a href="">注册</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<span>用户ID：{$a}</span>
			</if>
		</div>
		<br/>
		<br/>
		<br/>
		<br/>
		<h1 align="center">欢迎您访问TTO页面！</h1>
		<br><br>
		<!-- <form>
			<p align="center">
				<input type="submit" name="submit" value="获取ID值"/>
				<input type="text" name="ID" placeholder="空"/>
			</p>
			
		</form> -->
		
	</div>
</body>
</html>